GetField("Date Last Modified"); $DateOfRecordCreation = $Schema->GetField("Date Of Record Creation"); $ModParams = new SearchParameterSet(); $ModParams->AddParameter( "< 1 year ago", $DateLastModified ); $RecentlyModifiedSearchLink = "index.php?P=SearchResults&". $ModParams->UrlParameterString(). "&".TransportControlsUI::PNAME_SORTFIELD ."=".$DateLastModified->Id(); # build link to search for recently added resources $AddedParams = new SearchParameterSet(); $AddedParams->AddParameter( "< 1 year ago", $DateOfRecordCreation ); $RecentlyAddedSearchLink = "index.php?P=SearchResults" ."&".$AddedParams->UrlParameterString() ."&".TransportControlsUI::PNAME_SORTFIELD ."=".$DateOfRecordCreation->Id(); # retrieve local collection stats (if any) global $G_CollectionStats; $LocalStats = (isset($G_CollectionStats) && array_key_exists("LocalStats", $G_CollectionStats)) ? $G_CollectionStats["LocalStats"] : []; $ModResourceList = new ItemListUI([ "Date Last Modified" => [ "Heading" => "Date", "ValueFunction" => function ($Item) { return StdLib::getPrettyTimestamp($Item->Get("Date Last Modified")); }, ], "Title" => [ "ValueFunction" => function ($Item) { return "Id()."\">". htmlspecialchars($Item->GetMapped("Title")).""; }, ], "Last Modified By Id" => [ "Heading" => "User", ], ]); $ModResourceList->AddActionButton( "Edit", $Schema->editPage(), "pencil.png" ); $ModResourceList->fieldsSortableByDefault(false); $NewResourceList = clone $ModResourceList; $ModResourceList->Heading("Resources Recently Modified"); $ModResourceList->AddTopButton( "More Recently Modified", $RecentlyModifiedSearchLink ); $NewResourceList->Heading("Resources Recently Added"); $NewResourceList->AddTopButton( "More Recently Added", $RecentlyAddedSearchLink ); ?>

# Metadata Tool Functions

editPage()), PRIV_RESOURCEADMIN, PRIV_COLLECTIONADMIN ); PrintOurMenuEntry( "Add New Controlled Name", "index.php?P=AddControlledName", PRIV_NAMEADMIN ); PrintOurMenuEntry( "Edit Controlled Names", "index.php?P=EditControlledName&FieldId=0", PRIV_NAMEADMIN ); PrintOurMenuEntry( "Edit Option Lists", "index.php?P=EditOptionList", PRIV_NAMEADMIN ); PrintOurMenuEntry( "Add/Edit Classifications", "index.php?P=EditClassifications", PRIV_CLASSADMIN ); ?>

Display($H_RecentlyModified); ?>
Display($H_RecentlyAdded); ?>

# Collection Statistics

Number of Classifications |
Number of Controlled Names |
Publicly-Visible Resources |
Resources Rated |
Total Number of Resources |
Total Distinct Resource Search Terms |
$Value) { ?>
Stats last updated |
| Update Now

# Collection Development Resources

"Dublin Core User Guide", "http://framework.niso.org" => "IMLS Digital Collection Framework", "http://www.openarchives.org" => "Open Archives Initiative", ]; foreach ($CDResources as $Link => $Label) { ?>